<!DOCTYPE html>
<!--[if IE 8]> <html lang="${lang}" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="${lang}" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="${lang}">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8"/>
    <title>BPM云 | 流程门户</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta content="Johnny" name="author"/>

    <!-- END THEME STYLES -->
    <link rel="shortcut icon" href="${cdn}/favicon.ico"/>

    <%
    if (profile=="dev") {
    %>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="${cdn}/static/skins/lightblue/assets/dhtmlx4/dhtmlx_dhx_web.css" rel="stylesheet" type="text/css">
    <!--<link href="${cdn}/static/skins/lightblue/assets/bootstrap/admin/pages/css/fonts.googleapis.com.css" rel="stylesheet" type="text/css">-->
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/simple-line-icons/css/simple-line-icons.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/css/style.css" rel="stylesheet" type="text/css">
    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL STYLES -->
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-select/bootstrap-select.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/select2/select2.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-sweetalert/sweetalert.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-toastr/toastr.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/bootstrap-pagination/bootstrap-pagination.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/jquery-jcrop/jquery.Jcrop.css" rel="stylesheet" type="text/css"/>

    <!-- BEGIN THEME STYLES -->
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/css/components-md.css" id="style_components" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/css/plugins-md.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/css/layout.css" rel="stylesheet" type="text/css"/>
    <link id="style_color" href="${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/css/themes/grey.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/css/custom.css" rel="stylesheet" type="text/css"/>
    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/admin/pages/css/todo.css" rel="stylesheet" type="text/css"/>

    <link href="${cdn}/static/skins/lightblue/assets/bootstrap/global/plugins/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css">
    <link href="${cdn}/static/skins/lightblue/assets/jquery-ui/jquery-ui.css" rel="stylesheet" type="text/css">
    <!-- END PAGE LEVEL STYLES -->

    <% } else { %>
    <link href="${cdn}/static/skins/lightblue/assetsmin/platform/portal/portal.all.css?${productionVersion}" rel="stylesheet" type="text/css">
    <% }%>

</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-boxed page-header-fixed page-container-bg-solid page-sidebar-closed-hide-logo ">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
    <!-- BEGIN HEADER INNER -->
    <div class="page-header-inner container">
        <!-- BEGIN LOGO -->
        <div class="page-logo">
            <a href="javascript:">
                <img src="${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/img/logo-default2.png" alt="logo" class="logo-default"/>
            </a>
            <div class="menu-toggler sidebar-toggler">
                <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
            </div>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN RESPONSIVE MENU TOGGLER -->
        <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">
        </a>
        <!-- END RESPONSIVE MENU TOGGLER -->
        <!-- BEGIN PAGE ACTIONS -->
        <!-- END PAGE ACTIONS -->
        <!-- BEGIN PAGE TOP -->
        <div class="page-top">
            <div class="search-form search-form-expanded index-page-title" style="display:none"><h3>欢迎使用流程云</h3></div>
            <!-- BEGIN HEADER SEARCH BOX -->
            <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->
            <!--<form class="search-form search-form-expanded" action="extra_search.html" method="GET">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="Search..." name="query">
                    <span class="input-group-btn">
					<a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>
					</span>
                </div>
            </form>-->
            <!-- END HEADER SEARCH BOX -->
            <!-- BEGIN TOP NAVIGATION MENU -->
            <div class="top-menu">
                <ul class="nav navbar-nav pull-right">
                    <!-- BEGIN TODO DROPDOWN -->
                    <!-- END TODO DROPDOWN -->
                    <li class="dropdown dropdown-extended">
                        <a href="javascript:;" target="_blank" class="dropdown-toggle global-help-link" title="使用帮助文档" style="padding-right:20px;">
                            <i class="icon-question"></i>
                        </a>
                    </li>
                    <!-- BEGIN USER LOGIN DROPDOWN -->
                    <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                    <li class="dropdown dropdown-user">
                        <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                            <img alt="" class="header-avatar img-circle" src="" onerror="this.onerror=null;this.src='${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/img/avatar.png'"/>
                            <span class="username username-hide-on-mobile">${displayName}</span>
                            <i class="fa fa-angle-down"></i>
                        </a>
                        <ul id="accountDropNav" class="dropdown-menu dropdown-menu-default">
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/profile/user">
                                    <i class="icon-user"></i> 帐号设置 </a>
                            </li>
                            <li class="divider">
                            </li>
                            <!--<li>
                                <a href="extra_lock.html">
                                    <i class="icon-lock"></i> 锁定屏幕 </a>
                            </li>-->
                            <li>
                                <a href="/logout">
                                    <i class="icon-key"></i> 退出 </a>
                            </li>
                        </ul>
                    </li>
                    <!-- END USER LOGIN DROPDOWN -->
                </ul>
            </div>
            <!-- END TOP NAVIGATION MENU -->
        </div>
        <!-- END PAGE TOP -->
    </div>
    <!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>
<div class="container te-tag" te="${tenantId}">
    <!-- BEGIN CONTAINER -->
    <div class="page-container">
        <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
        <div class="modal fade" id="portlet-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                        <h4 class="modal-title"></h4>
                    </div>
                    <div class="modal-body">

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn blue">确定</button>
                        <button type="button" class="btn default" data-dismiss="modal">关闭</button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal-dialog -->
        </div>
        <!-- /.modal -->
        <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
        <!-- BEGIN SIDEBAR1 -->
        <div class="page-sidebar-wrapper">
            <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
            <!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
            <div class="page-sidebar navbar-collapse collapse">
                <!-- BEGIN SIDEBAR MENU1 -->
                <ul id="portalmenu" class="page-sidebar-menu page-sidebar-menu-hover-submenu" data-slide-speed="200" data-auto-scroll="true" data-auto-scroll="true" data-slide-speed="200">
                    <li>
                        <a class="ajaxify start" href="/topage?path=layout/task/list_todo" pageid="layout_task_list_todo">
                            <i class="icon-home"></i>
                            <span class="title">首&nbsp;&nbsp;&nbsp;&nbsp;页</span>
                            <span class="selected">
						</span>
                        </a>
                    </li>
                    <li>
                        <a class="ajaxify" href="/topage?path=layout/inst/start">
                            <i class="icon-plus"></i>
                            <span class="title">新申请</span>
                            <span class="selected">
						</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:;">
                            <i class="icon-calendar"></i>
                            <span class="title">任&nbsp;&nbsp;&nbsp;&nbsp;务</span>
                            <span class="selected">
						</span>
                            <span class="arrow">
						</span>
                        </a>
                        <ul class="sub-menu">
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/task/list_todo" pageid="layout_task_list_todo">
                                    <span class=""><i class="icon-calendar"></i>&nbsp;&nbsp;&nbsp;&nbsp;待&nbsp;&nbsp;&nbsp;&nbsp;办</span>
                                </a>
                            </li>
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/task/list_done">
                                    <span style="width:100%;"><i class="icon-notebook"></i>&nbsp;&nbsp;&nbsp;&nbsp;已&nbsp;&nbsp;&nbsp;&nbsp;办</span>
                                </a>
                            </li>
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/task/list_appl">
                                    <span class=""><i class="icon-share-alt"></i>&nbsp;&nbsp;&nbsp;&nbsp;已申请</span>
                                </a>
                            </li>
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/task/list_draft">
                                    <span class=""><i class="icon-note"></i>&nbsp;&nbsp;&nbsp;&nbsp;草&nbsp;&nbsp;&nbsp;&nbsp;稿</span>
                                </a>
                            </li>
                            <!--<li>
                                <a class="ajaxify" href="/topage?path=layout/process/list_trash">
                                    <span class=""><i class="icon-trash"></i>&nbsp;&nbsp;&nbsp;&nbsp;废纸箱</span>
                                </a>
                            </li>-->
                        </ul>
                    </li>
                    <li class="last">
                        <a href="javascript:;">
                            <i class="icon-shuffle"></i>
                            <span class="title">流&nbsp;&nbsp;&nbsp;&nbsp;程</span>
                            <span class="selected">
						</span>
                            <span class="arrow">
						</span>
                        </a>
                        <ul class="sub-menu">
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/inst/list_pi">
                                    <span class=""><i class="icon-magnifier"></i>&nbsp;&nbsp;&nbsp;&nbsp;流程查询</span>
                                </a>
                            </li>
                            <!--<li>
                                <a class="ajaxify" href="/topage?path=layout/inst/querybo">
                                    <span class=""><i class="icon-magnifier"></i>&nbsp;&nbsp;&nbsp;&nbsp;业务数据查询</span>
                                </a>
                            </li>
                            <li>
                                <a class="ajaxify" href="/topage?path=layout/personal/delegate">
                                    <span class=""><i class="icon-user-following"></i>&nbsp;&nbsp;&nbsp;&nbsp;我的代理</span>
                                </a>
                            </li>-->
                        </ul>
                    </li>
                </ul>
                <!-- END SIDEBAR MENU1 -->
            </div>
        </div>
        <!-- END SIDEBAR1 -->
        <!-- BEGIN CONTENT -->
        <div class="page-content-wrapper">
            <div class="page-content">
                <!-- BEGIN STYLE CUSTOMIZER -->
                <div class="theme-panel">
                    <div class="toggler tooltips" data-container="body" data-placement="left" data-html="true" data-original-title="">
                        <i class="icon-picture"></i>
                    </div>
                    <div class="toggler-close">
                        <i class="icon-close"></i>
                    </div>
                    <div class="theme-options">
                        <!--<div class="theme-option theme-colors clearfix">
							<span>主题颜色</span>
                            <ul>
                                <li class="color-default current tooltips" data-style="default" data-container="body" data-original-title="深蓝">
                                </li>
                                <li class="color-grey tooltips" data-style="grey" data-container="body" data-original-title="灰色">
                                </li>
                                <li class="color-blue tooltips" data-style="blue" data-container="body" data-original-title="湖蓝">
                                </li>
                                <li class="color-dark tooltips" data-style="dark" data-container="body" data-original-title="夜色">
                                </li>
                                <li class="color-light tooltips" data-style="light" data-container="body" data-original-title="清淡">
                                </li>
                            </ul>
                        </div>
                        <div class="theme-option">
							<span>组件风格</span>
                            <select class="layout-style-option form-control input-small">
                                <option value="square" selected="selected">方角</option>
                                <option value="rounded">圆角</option>
                            </select>
                        </div>-->
                        <div class="theme-option" style="margin-top:30px;">
							<span>布局</span>
                            <select class="layout-option form-control input-small">
                                <option value="fluid" selected="selected">自适应</option>
                                <option value="boxed">经典</option>
                            </select>
                        </div>
                        <div class="theme-option hide">
							<span>标题栏</span>
                            <select class="page-header-option form-control input-small">
                                <option value="fixed" selected="selected">固定</option>
                                <option value="default">默认</option>
                            </select>
                        </div>
                        <!--<div class="theme-option">
							<span>头部下拉菜单</span>
                            <select class="page-header-top-dropdown-style-option form-control input-small">
                                <option value="light" selected="selected">浅色</option>
                                <option value="dark">深色</option>
                            </select>
                        </div>-->
                        <!--<div class="theme-option">
							<span>导航风格</span>
                            <select class="sidebar-style-option form-control input-small">
                                <option value="default" selected="selected">默认</option>
                                <option value="compact">紧凑</option>
                            </select>
                        </div>-->
                        <div class="theme-option">
                            <span>导航位置</span>
                            <select class="sidebar-pos-option form-control input-small">
                                <option value="left" selected="selected">左侧</option>
                                <option value="right">右侧</option>
                            </select>
                        </div>
                        <div class="theme-option hide">
                            <span>导航</span>
                            <select class="sidebar-option form-control input-small">
                                <option value="default" value="fixed">固定</option>
                                <option selected="selected">默认</option>
                            </select>
                        </div>
                        <div class="theme-option hide">
                            <span>导航折叠</span>
                            <select class="sidebar-menu-option form-control input-small">
                                <option value="accordion">手风琴式</option>
                                <option value="hover" selected="selected">浮动</option>
                            </select>
                        </div>
                        <div class="theme-option hide">
							<span>页脚</span>
                            <select class="page-footer-option form-control input-small">
                                <option value="default" value="fixed">固定</option>
                                <option selected="selected">默认</option>
                            </select>
                        </div>
                    </div>
                </div>
                <!-- END STYLE CUSTOMIZER -->
                <div class="page-content-body">
                    <!-- HERE WILL BE LOADED AN AJAX CONTENT -->
                </div>
            </div>
            <!-- BEGIN CONTENT -->
        </div>
        <!-- END CONTENT -->
        <!-- BEGIN QUICK SIDEBAR -->
        <!--Cooming Soon...-->
        <!-- END QUICK SIDEBAR -->
    </div>
    <!-- END CONTAINER -->
    <!-- BEGIN FOOTER -->
    <div class="page-footer">
        <div class="page-footer-inner">
            2015 &copy; All rights reserved. &nbsp;&nbsp; Powered by &nbsp;
            <a href="https://www.bpmyun.cn" target="_blank">
                <img src="${cdn}/static/skins/lightblue/assets/bootstrap/admin/layout2/img/logo-default1.png" alt="BPM云" style="height:14px;"/>
            </a>
            &nbsp;|&nbsp;京ICP备17001457号-1
        </div>
        <div class="scroll-to-top">
            <i class="icon-arrow-up"></i>
        </div>
    </div>
    <!-- END FOOTER -->
</div>

<script>
    var ctxpath = "/";
    var lang = "${lang}";
    var lang_dp = "zh-CN";
    var resloc = "${cdn}";	//resloc for this app
    var productionVersion = "${productionVersion}";
    var engloc = "/bpmp-engine";
    var apiloc = '/bpmp-engine/api';
    //var assetsPath = resloc + "/static/skins/lightblue/assets/bootstrap";
    var globalImgPath = "/global/img";

    var prefix_handletask = "${prefixHandleTask}";
    var prefix_startpi = "${prefixStartpi}";
    var prefix_viewpi = "${prefixViewpi}";
    var avatarExt = 'png';
</script>
<!-- BEGIN CORE PLUGINS -->
<%
if (profile=="dev") {
%>
<!--[if lt IE 9]>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/respond.js"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/excanvas.js"></script>
<![endif]-->
<script src="${cdn}/static/jslib/3rdpartyother/json2.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/3rdpartyother/lodash.core.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/3rdpartyother/base64.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/3rdpartyother/stomp/stomp.js"></script>
<script src="${cdn}/static/jslib/3rdpartyother/stomp/sockjs.js"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/jquery/jquery.form.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery-validation/js/jquery.validate.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery-slimscroll/jquery.slimscroll.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>

<script src="${cdn}/static/jslib/bootstrap/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-switch/js/bootstrap-switch.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-select/bootstrap-select.js"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/select2/select2.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-contextmenu/bootstrap-contextmenu.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jstree/jstree.js"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-sweetalert/sweetalert.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-toastr/toastr.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-pagination/bootstrap-pagination.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/dhtmlx4/alone/dhxgrid.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/alone/dhxtoolbar.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/alone/dhxcontainer.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/alone/dhxlayout.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/ext/dhxgrid.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/ext/validator.js"></script>
<script src="${cdn}/static/jslib/dhtmlx4/ext/excell_types.js"></script>

<!-- END CORE PLUGINS -->
<script src="${cdn}/static/jslib/bootstrap/global/scripts/metronic.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/admin/layout2/scripts/layout.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/admin/layout2/scripts/themetool.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/util/common_bootstrap.js" type="text/javascript"></script>

<script src="${cdn}/static/jsplatform/portal/index/index.js" type="text/javascript"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/list_todo.js" type="text/javascript"></script>
<!-- I18N FOR PLUGINS -->
<script src="${cdn}/static/jslib/bootstrap/global/plugins/jquery-validation/js/localization/messages_${lang}.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-datepicker/locales/bootstrap-datepicker.${lang}.min.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/bootstrap-table/locale/bootstrap-table-${lang}.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/bootstrap/global/plugins/select2/select2_locale_${lang}.js" type="text/javascript"></script>
<script src="${cdn}/static/jslib/dhtmlx4/ext/dhx_i18n_${lang}.js"></script>
<!-- I18N FOR LAYOUTS -->
<script src="${cdn}/static/jsplatform/portal/index/index_i18n_${lang}.js" type="text/javascript"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/list_todo_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/start_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/list_done_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/list_appl_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/portal/layout/taskcenter/list_draft_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/portal/pages/profile/user_i18n_${lang}.js"></script>
<script src="${cdn}/static/jsplatform/admin/layout/config/bdm_i18n_${lang}.js"></script>

<% } else { %>
<script src="${cdn}/static/jsmin/platform/portal/portal.all.js?${productionVersion}"></script>
<script src="${cdn}/static/jsmin/platform/portal/portal_i18n_${lang}.all.js?${productionVersion}"></script>
<% }%>

<script>
    dhtmlx.image_path = resloc + '/static/skins/lightblue/assets/dhtmlx4/imgs/';
    jQuery(document).ready(function() {
        Metronic.init(); // init metronic core components
        Layout.init(); // init current layout
        ThemeTool.init(); // init theme tool features
        PortalIndex.init();
        $('.page-sidebar .ajaxify.start').click() // load the content for the dashboard page.
    });
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>